#ifndef RECVBOX_H
#define RECVBOX_H

#include <QWidget>
#include <QImage>
#include <QPixmap>
#include <QString>
#include <QColor>
#include <QPalette>
#include <QPainterPath>
#include <QRegion>
#include <QPaintEngine>
#include "UserLayer/GUI/ChatWidget/box.h"
namespace Ui {
class RecvBox;
}

class RecvBox : public Box
{
    Q_OBJECT

public:
    explicit RecvBox(QWidget *parent = nullptr);
    ~RecvBox();


public slots:
    void setAvatar(const QPixmap avatar) override;
    void setText(const QString text) override;
    QSize getSize() override;
private:
    Ui::RecvBox *ui;

};

#endif // RECVBOX_H
